projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
813dbb2
)
(abort): New function.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 30 Dec 1997 19:01:13 +0000
(19:01 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 30 Dec 1997 19:01:13 +0000
(19:01 +0000)
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index 359e91523fef2cac37c160c8ef68a0e441d4bc5c..a54c8345626701c9fc7185df5d701042b22c6a23 100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-189,6
+189,7
@@
handle_USR1_signal (sig)
SIGUSR1_in_progress = 0;
}
}
+
#ifdef SIGUSR2
int SIGUSR2_in_progress=0;
SIGTYPE
@@
-255,6
+256,16
@@
memory_warning_signal (sig)
force_auto_save_soon ();
}
#endif
+
+/* We define abort, rather than using it from the library,
+ so that GDB can return from a breakpoint here. */
+
+void
+abort ()
+{
+ kill (getpid (), SIGABRT);
+}
+
\f
/* Code for dealing with Lisp access to the Unix command line */